list1 = [1, 3, 2, 9, 7, 8]
print(list1[2:5])

print(type(list1[0]))  # int类型

print(type(list1[0:1]))  # 列表类型

list1.insert(0, list1.pop())

print(list1)

list2 = [1, 3, 5, 6, 7, 2]
print(list2[-1])  # 倒着来，-1开始
